Package com.orange.webcom.sdkv2.datasync.subscription

Exposes subscription-related classes and functions of the datasync service.

Types

CancelationPolicy
Link copied to clipboard
enum CancelationPolicy : Enum<CancelationPolicy>

Represents the policy to apply to the data stored within the local cache that are watched by a subscription, when canceling this subscription. This data may be either kept, kept and still updated (as long as the network connectivity is up) after the cancelation, or cleared from the local cache.

Constraint
Link copied to clipboard
sealed class Constraint

Represents constraints on the values of data nodes sent by subscriptions.

DatasyncEvent
Link copied to clipboard
interface DatasyncEvent : Notifiable

Base type for all events that can be subscribed or notified from the DatasyncService.

DatasyncState
Link copied to clipboard
data class DatasyncState : DatasyncEvent, Notification.DataNotification<DatasyncState>

Represents some state indicators about a DatasyncService instance.

PushNotificationEvent
Link copied to clipboard
sealed class PushNotificationEvent : DatasyncEvent

Represents an event raised in response to a Subscription, to be received through the mobile push notification channel of the user device, and previously subscribed using one of the Subscriber.subscribeThroughPushNotification methods.

SubscribableEvent
Link copied to clipboard
interface SubscribableEvent : DatasyncEvent

Represents a type of DatasyncEvent to subscribe to.

Subscriber
Link copied to clipboard
abstract class Subscriber

Base class for all subscription-related methods.

SubscriptionOptions
Link copied to clipboard
data class SubscriptionOptions @JvmOverloads constructor(includesAcknowledgements: Boolean, completionPolicy: CancelationPolicy?)

Represents some options to customize the behavior of a subscription that receives notifications through a callback function.